 
<style>
	.title{
		margin-left: 20px;
		margin-top: 30px;
		margin-bottom: 50px;
		width: 720px;
	}
	

	.table th{
		text-align: center;
		border: 1px solid #FFFFFF;
	}
	
</style>

<input type="hidden" name="roleId" id="roleId" value="<{$roleId}>" />

<div class="title">
	<{if $role.state}>
	<table class="table table-striped ">
		<tbody>
			<tr>
				<th>称号名称</th>
				<th>是否拥有</th>
			</tr>
			<{if count($data)==0 }>
				<tr>
					<td colspan="2"><font color="red">暂无数据</font></td>
				</tr>
			<{/if}>
			<{foreach from=$data item=item key=key}>
			<tr>
                <td><{$item.name}></td>
                <td><font color="<{$item.color}>"><{$item.have}></font></td>
            </tr>
            <{/foreach}>
            
		</tbody>
        
    </table>
    <{else}>
    <div class="alert alert-warning" style="margin:0;" role="alert"><{$role.msg}></div>
    <{/if}>
</div>